package entities;

import services.impl.StandardOPs;
import java.util.List;
import java.util.LinkedList;
import java.util.ArrayList;
import java.util.Arrays;
import java.time.LocalDate;
import java.io.Serializable;
import java.lang.reflect.Method;

public class Staff implements Serializable {
	
	/* all primary attributes */
	private String Id;
	private String Name;
	private String Role;
	
	/* all references */
	private List<Report> StaffToReport = new LinkedList<Report>(); 
	
	/* all get and set functions */
	public String getId() {
		return Id;
	}	
	
	public void setId(String id) {
		this.Id = id;
	}
	public String getName() {
		return Name;
	}	
	
	public void setName(String name) {
		this.Name = name;
	}
	public String getRole() {
		return Role;
	}	
	
	public void setRole(String role) {
		this.Role = role;
	}
	
	/* all functions for reference*/
	public List<Report> getStaffToReport() {
		return StaffToReport;
	}	
	
	public void addStaffToReport(Report report) {
		this.StaffToReport.add(report);
	}
	
	public void deleteStaffToReport(Report report) {
		this.StaffToReport.remove(report);
	}
	


}
